home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Grab Bag
/
Shareware Grab Bag.iso
/
015
/
prtcom2.arc
/
PRINTCOM.DOC
next >
Wrap
Text File
|
1987-02-02
|
4KB
|
98 lines
RCB Systems, Inc.
P.O. Box 192
Bergenfield, N.J. 07621
January 31, 1987
Content:
PRINTCOM.EXE
PRINTCOM.DOC
Purpose:
To provide an easy way to do a printer setup by
creating "COM" files which can be executed at the DOS
command line.
Syntax:
PRINTCOM filespec
where filespec is the new name of the setup
file to be created (do not include the COM
extension).
Execution:
When executed off the DOS line, PRINTCOM.COM will
read the filespec parameter off the DOS command line
and then prompt for the sequence codes. The codes are
individually entered (no stringing allowed) and there
can be any number of sequence codes inputted to create
a .COM file. All that must be remembered is to provide
complete setup instructions, with an escape code before
every new command.
Example:
According to the Epson manual, the ESCAPE code
must be sent to the printer before the italic
command (27 52 or ESC 4 or CHR$27CHR$52). At the
program prompt, simply hit a "27", <ENTER>, then
a "52", then <ENTER>. A more graphic example:
Enter character or 2-3 digit numbers for ASCII code:> 27
Enter character or 2-3 digit numbers for ASCII code:> 52
The ASCII codes and decimal codes can be intermixed
as long it is done in the proper order. Before execution
of this program, DEBUG.COM (on the second DOS diskette)
must be available.
Practical applications:
You can set up the printer any way you want by
calling a previously created COM printer file that
has been created by PRINTCOM.EXE. This can be run
in your AUTOEXEC.BAT or in any batch files leading
to your favorite word processor or from a menu of
your creation. In fact, you can even reinitialize
your printer as long as your printer supports the
reset code. (In the EPSON mode, it is the sequence
27,@)
A fun way to start is to try out the Microprint fea-
ture I believe almost any dot-matrix printer can
support. Try the sequence:
27,83,0,27,15,27,51,15,27,78,6
remembering to hit the <ENTER> key where the commas
are shown.
Versions:
This program fixes a bug in the previous version where
you attempted to overwrite a .COM file by the same name.
The previous file can now be overwritten with the new
setup code(s). Also, the .BAT file no longer has be run
to create the .COM file.
Request:
This is not exactly shareware. I do believe that
shareware is, well, just that. Aspiring artists
need to be encouraged along in their pursuit of
excellence in the software arts, and I am no ex-
ception. All I ask is for you to drop a line
to my PO box listed above tell me how much you
like the program, or to suggest improvements to it.
If you feel that it has improved the way you do things
on the computer and want to use it on a regular basis a
contribution of $2.00 would be appreciated.
This would help pay for my time and the compiler
(Quickbasic 2.0) that I shelled out my hard-earned
dollars for.